<!--{include manage_header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
		<ul>${mcurrent_misc('feedback')}</ul>
	</div>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Feedback e Negócios</h2>
                    <ul class="filter">
						<li><form action="/manage/misc/feedback.php" method="get"><input type="text" name="like" value="${htmlspecialchars($like)}" class="h-input" />&nbsp;<select name="cate">${Utility::Option($feedcate, $cate, 'All Category')}</select>&nbsp;<input type="submit" value="Filtrar" class="formbutton"  style="padding:1px 6px;"/><form></li>
					</ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
					<tr><th width="144">cliente</th><th width="182">Tipo</th><th width="266">Contexto</th><th width="341">Status</th><th width="184">Data</th><th width="116">Operação</th></tr>
					<!--{loop $asks $index $one}-->
					<tr ${$index%2?'':'class="alt"'} id="team-list-id-{$one['id']}">
						<td>{$one['title']}<br/>{$one['contact']}</td>
						<td>{$feedcate[$one['category']]}</td>
						<td>${htmlspecialchars($one['content'])}</td>
						<td>${$one['user_id']?$users[$one['user_id']]['username']:''}</td>
						<td>${date('d-m-Y',$one['create_time'])}</td>
						<td class="op"><a href="/manage/misc/feedback.php?action=r&id={$one['id']}&r={$currefer}" class="remove-record">Apagar</a><!--{if !$one['user_id']}-->｜<a href="/manage/misc/feedback.php?action=m&id={$one['id']}&r={$currefer}">Processado</a><!--{/if}--></td>
					</tr>
					<!--{/loop}-->
					<tr><td colspan="6">{$pagestring}</tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
